<?xml version="1.0" encoding="UTF-8"?>
<ui:composition template="/WEB-INF/templates/master_frame.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:my="http://java.sun.com/jsf/composite/components">
         
         <ui:define name="title"> - Action Panel</ui:define>                   
         
         <ui:define name="content">
			
	          <rich:panel id="actionPanel" header="Action Messages">
	          	<ul id="messages"/>
	          </rich:panel>
	          
	
	          <a4j:push address="pushCdi" ondataavailable="jQuery('&lt;li /&gt;').prependTo('#messages').text(event.rf.data)" onerror="alert('onerror: ' + event.rf.data)" onsubscribed="jQuery('&lt;li /&gt;').prependTo('#messages').text('subscribed to address')">
	             <a4j:ajax event="dataavailable" render="actionPanel" />
	             <a4j:ajax event="subscribed" render="actionPanel"/>
	          </a4j:push>

         </ui:define>
</ui:composition>
